﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200048D RID: 1165
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterTelevisionActivityStageScRsp : IMessage<EnterTelevisionActivityStageScRsp>, IMessage, IEquatable<EnterTelevisionActivityStageScRsp>, IDeepCloneable<EnterTelevisionActivityStageScRsp>, IBufferMessage
	{
		// Token: 0x17000F01 RID: 3841
		// (get) Token: 0x06003478 RID: 13432 RVA: 0x0009047F File Offset: 0x0008E67F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterTelevisionActivityStageScRsp> Parser
		{
			get
			{
				return EnterTelevisionActivityStageScRsp._parser;
			}
		}

		// Token: 0x17000F02 RID: 3842
		// (get) Token: 0x06003479 RID: 13433 RVA: 0x00090486 File Offset: 0x0008E686
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterTelevisionActivityStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F03 RID: 3843
		// (get) Token: 0x0600347A RID: 13434 RVA: 0x00090498 File Offset: 0x0008E698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterTelevisionActivityStageScRsp.Descriptor;
			}
		}

		// Token: 0x0600347B RID: 13435 RVA: 0x0009049F File Offset: 0x0008E69F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTelevisionActivityStageScRsp()
		{
		}

		// Token: 0x0600347C RID: 13436 RVA: 0x000904A8 File Offset: 0x0008E6A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTelevisionActivityStageScRsp(EnterTelevisionActivityStageScRsp other) : this()
		{
			this.kKIOHLDDJCJ_ = other.kKIOHLDDJCJ_;
			this.retcode_ = other.retcode_;
			this.battleInfo_ = ((other.battleInfo_ != null) ? other.battleInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600347D RID: 13437 RVA: 0x00090500 File Offset: 0x0008E700
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTelevisionActivityStageScRsp Clone()
		{
			return new EnterTelevisionActivityStageScRsp(this);
		}

		// Token: 0x17000F04 RID: 3844
		// (get) Token: 0x0600347E RID: 13438 RVA: 0x00090508 File Offset: 0x0008E708
		// (set) Token: 0x0600347F RID: 13439 RVA: 0x00090510 File Offset: 0x0008E710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KKIOHLDDJCJ
		{
			get
			{
				return this.kKIOHLDDJCJ_;
			}
			set
			{
				this.kKIOHLDDJCJ_ = value;
			}
		}

		// Token: 0x17000F05 RID: 3845
		// (get) Token: 0x06003480 RID: 13440 RVA: 0x00090519 File Offset: 0x0008E719
		// (set) Token: 0x06003481 RID: 13441 RVA: 0x00090521 File Offset: 0x0008E721
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000F06 RID: 3846
		// (get) Token: 0x06003482 RID: 13442 RVA: 0x0009052A File Offset: 0x0008E72A
		// (set) Token: 0x06003483 RID: 13443 RVA: 0x00090532 File Offset: 0x0008E732
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo BattleInfo
		{
			get
			{
				return this.battleInfo_;
			}
			set
			{
				this.battleInfo_ = value;
			}
		}

		// Token: 0x06003484 RID: 13444 RVA: 0x0009053B File Offset: 0x0008E73B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterTelevisionActivityStageScRsp);
		}

		// Token: 0x06003485 RID: 13445 RVA: 0x0009054C File Offset: 0x0008E74C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterTelevisionActivityStageScRsp other)
		{
			return other != null && (other == this || (this.KKIOHLDDJCJ == other.KKIOHLDDJCJ && this.Retcode == other.Retcode && object.Equals(this.BattleInfo, other.BattleInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003486 RID: 13446 RVA: 0x000905AC File Offset: 0x0008E7AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KKIOHLDDJCJ != 0U)
			{
				num ^= this.KKIOHLDDJCJ.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.battleInfo_ != null)
			{
				num ^= this.BattleInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003487 RID: 13447 RVA: 0x0009061A File Offset: 0x0008E81A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003488 RID: 13448 RVA: 0x00090622 File Offset: 0x0008E822
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003489 RID: 13449 RVA: 0x0009062C File Offset: 0x0008E82C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.KKIOHLDDJCJ != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.KKIOHLDDJCJ);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.battleInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.BattleInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600348A RID: 13450 RVA: 0x000906A4 File Offset: 0x0008E8A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KKIOHLDDJCJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KKIOHLDDJCJ);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.battleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BattleInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600348B RID: 13451 RVA: 0x00090714 File Offset: 0x0008E914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterTelevisionActivityStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KKIOHLDDJCJ != 0U)
			{
				this.KKIOHLDDJCJ = other.KKIOHLDDJCJ;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.battleInfo_ != null)
			{
				if (this.battleInfo_ == null)
				{
					this.BattleInfo = new SceneBattleInfo();
				}
				this.BattleInfo.MergeFrom(other.BattleInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600348C RID: 13452 RVA: 0x00090790 File Offset: 0x0008E990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600348D RID: 13453 RVA: 0x0009079C File Offset: 0x0008E99C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 96U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.battleInfo_ == null)
							{
								this.BattleInfo = new SceneBattleInfo();
							}
							input.ReadMessage(this.BattleInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.KKIOHLDDJCJ = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001499 RID: 5273
		private static readonly MessageParser<EnterTelevisionActivityStageScRsp> _parser = new MessageParser<EnterTelevisionActivityStageScRsp>(() => new EnterTelevisionActivityStageScRsp());

		// Token: 0x0400149A RID: 5274
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400149B RID: 5275
		public const int KKIOHLDDJCJFieldNumber = 6;

		// Token: 0x0400149C RID: 5276
		private uint kKIOHLDDJCJ_;

		// Token: 0x0400149D RID: 5277
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400149E RID: 5278
		private uint retcode_;

		// Token: 0x0400149F RID: 5279
		public const int BattleInfoFieldNumber = 15;

		// Token: 0x040014A0 RID: 5280
		private SceneBattleInfo battleInfo_;
	}
}
